Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22299 | GEN000452 | SV-38302r1_rule | ECSC-1 | Low |
Description |
---|
Providing users with feedback on when account accesses last occurred facilitates user recognition and reporting of unauthorized account use. |
STIG | Date |
---|---|
HP-UX 11.31 Security Technical Implementation Guide | 2016-12-20 |
Check Text ( C-36261r1_chk ) |
---|
Check the SSH daemon configuration. Note that keywords are case-insensitive and arguments (args) are case-sensitive. keyword=PrintLastLog Required arg(s)=yes Default arg values include: "yes" Note: When the default "arg" value exactly matches the required "arg" value (see above), the Examine the file. # cat /opt/ssh/etc/sshd_config | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v '^#' | grep -i "PrintLastLog" | cut -f 2,2 -d " " If the return value is no, this is a finding. |
Fix Text (F-31518r1_fix) |
---|
Edit the configuration file and modify the PrintLastLog line entry as follows: PrintLastLog yes |